<template>
  <div class="dropdown-card__wrap" >
    <ul class="dropdown-card">
      <slot></slot>
    </ul>
  </div>
</template>

<script>
  export default {

  }
</script>


<style lang="scss">
  .dropdown-card__wrap{
    position: absolute;
    .dropdown-card{
      list-style: none;
      padding: 6*$length 0;
      margin: 0;
      box-sizing: border-box;
      border: solid 1px #dfe4ed;
      border-radius: 4px;
      background-color:#fff;
      box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1);

      & li{
        font-size: 14px;
        padding: 0 20px;
        position: relative;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color:
          #606266;
        height: 34px;
        line-height: 34px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        cursor: pointer;
        @extend %cursorPointer;
        @extend %animate-transition;
        &:hover{
          background-color: #F5F7FA;
        }
      }

    }
  }


</style>
